package com.edbergogroup.springexamples.aop.apekter;

import java.util.logging.Logger;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class LogAspekt {
	Logger logger = Logger.getLogger(this.getClass().getName());

	@Before("execution(Integer multiply(..))")
	public void log() {
		logger.info("testme");
		System.out.println("Hello world");
	}
}
